package com.oascarmovie;

import android.graphics.Color;

public interface Constants {
	public final static String APP_NAME = "APP_NAME";
	public final static String APP_ID = "APP_ID";
	public final static String APP_VERSIONNAME = "APP_VERSIONNAME";
	public final static String APP_VERSIONNUMBER = "APP_VERSIONNUMBER";
	public final static String APP_DATELINE = "APP_DATELINE";
	public final static String APP_LASTPOST = "APP_LASTPOST";
	public final static String SERVER_URL = "http://www.echodrama.com";
	
	public final static int INVALID_NUMBER = 0;
	public final static int INVALID_NUMBER_BOOLEAN = 0;
	public final static int VALID_NUMBER_BOOLEAN = 1;
	public final static String FORMAT_DATE = "yyyy/MM/dd";
	public final static String FORMAT_DATETIME = "yyyy/MM/dd hh:mm";
	
	//error report
	public final static String SUBDIR_ERRORREPORT = "/errorreport";
	public final static String FILENAME_PREFIX_ERRORREPORT = "errorreport_";

	
	//color
	public final static int COLOR_ERROR_FIELD_BG = Color.RED;
	public final static int COLOR_NORMAL_FIELD_BG = Color.WHITE;
			
	//json obj
	public final static String JSON = "json";

	public final static String JSON_USEROBJ = "userobj";
	public final static String JSON_USEROBJ_SESSIONID = "sessionid";
	public final static String JSON_USEROBJ_UID = "supe_uid";
	public final static String JSON_USEROBJ_PASSWORD = "password";
	public final static String JSON_USEROBJ_USERNAME = "supe_username";
	public final static String JSON_USEROBJ_REALNAME = "realname";
	
	public final static String JSON_STATUS  = "status";
	public final static String JSON_STATUS_TYPE  = "type";
	public final static String JSON_STATUS_MSG  = "msg";
	
	public final static String JSON_BEAN = "bean";
	
	//json status
	public final static String JSON_STATUS_TYPE_SUCCESS = "success";
	public final static String JSON_STATUS_TYPE_WARNING = "warning";
	public final static String JSON_STATUS_TYPE_FAILURE = "failure";
	
	public final static int MESSAGE_WHAT_LOADING = 1;
	public final static int MESSAGE_WHAT_REQUEST_CATALOG = 2;
	
	public final static String CATALOG_CALENDAR = "calendar";
	public final static String CATALOG_AWARD = "award";
	public final static String CATALOG_CATEGORY = "category";
	public final static String CATALOG_COUNTRY = "country";
	
	public final static String HTTP_HOST = "http://10.148.69.157"; //10.148.69.8

	
}
